package dbutil;

import java.io.InputStream;
import java.util.Properties;

/**
 * Created by lv on 2017/8/26.
 */
public class JdbcParams {
    public static final Properties props = new Properties();
    private static final InputStream in = JdbcParams.class.getClassLoader().getResourceAsStream("/jdbc.properties");

    public JdbcParams() {}

    static {
        try {
            props.load(in);
            in.close();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
